<?php
/* @var $this ContactController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Contacts',
);

?>

<h1>Contact</h1>

<?php $this->widget('bootstrap.widgets.TbGridView', array(
	'id'=>'contact-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		array(
			'header'=>'No',
			'value'=>'$this->grid->dataProvider->pagination->currentPage * 
				$this->grid->dataProvider->pagination->pageSize + ($row+1)',
			'htmlOptions'=>array('width'=>'3%','style'=>'text-align:center'),
		),
		'name',
		'email',
		'subject',
		'body',
		'tanggal',
		array(
			'header'=>'Pilihan',
			'class'=>'CButtonColumn',
		),
	),
)); ?>

